package com.ruoyi.buy.domain.entity.PO;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 投产登记对象 buy_product_item
 * 
 * @author ruoyi
 * @date 2024-04-23
 */
public class BuyProductItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** iD */
    private Long iD;

    /** 外协日期 */
    @Excel(name = "外协日期")
    private String dAssist;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String vProjectName;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private String vProjectNo;

    /** 零件名称 */
    @Excel(name = "零件名称")
    private String vSpaName;

    /** 零件号（图纸号）  */
    @Excel(name = "零件号", readConverterExp = "图=纸号")
    private String vDrawingNo;

    /** 数量 */
    @Excel(name = "数量")
    private String nQty;

    /** 材料 */
    @Excel(name = "材料")
    private String vMaterial;

    /** 重量g */
    @Excel(name = "重量g")
    private BigDecimal nWeight;

    /** 设计者 */
    @Excel(name = "设计者")
    private String vDesigner;

    /** 要求进度 */
    @Excel(name = "要求进度")
    private String dExpected;

    /** 实际进度 */
    @Excel(name = "实际进度")
    private String vActualProgress;

    /** 审图人 */
    @Excel(name = "审图人")
    private String vReviewer;

    /** 厂家 */
    @Excel(name = "厂家")
    private String supplier;

    /** 作业号 */
    @Excel(name = "作业号")
    private String vWorkNo;

    /** 成本核算单价不含税（元） */
    @Excel(name = "成本核算单价不含税", readConverterExp = "元=")
    private BigDecimal nCostPrice;

    /** 外委厂家单价含税（元） */
    @Excel(name = "外委厂家单价含税", readConverterExp = "元=")
    private BigDecimal nOutsourcingPrice;

    /** 合同额单价含税（元） */
    @Excel(name = "合同额单价含税", readConverterExp = "元=")
    private BigDecimal nContractPrice;

    /** 总价含税（元） */
    @Excel(name = "总价含税", readConverterExp = "元=")
    private BigDecimal nTotalPrice;

    /** 合同编号 */
    @Excel(name = "合同编号")
    private String vContractNo;

    /** 表面处理 */
    @Excel(name = "表面处理")
    private String vSurfaceTreat;

    /** 单价/表面处理费用 */
    @Excel(name = "单价/表面处理费用")
    private BigDecimal nSurfaceTreatPirce;

    /** 总价/表面处理费用 */
    @Excel(name = "总价/表面处理费用")
    private BigDecimal nSurfaceTreatTotal;

    /** 喷涂数量 */
    @Excel(name = "喷涂数量")
    private BigDecimal nSprayQty;

    /** 编号位置 */
    @Excel(name = "编号位置")
    private String vNoPosition;

    /** 成品/半成品 */
    @Excel(name = "成品/半成品")
    private String vFinishedProduct;

    /** 装配间工时 */
    @Excel(name = "装配间工时")
    private BigDecimal nWorkHours;

    /** 单价（元） */
    @Excel(name = "单价", readConverterExp = "元=")
    private BigDecimal nWorkPirce;

    /** 总计（元） */
    @Excel(name = "总计", readConverterExp = "元=")
    private BigDecimal nWorkTotal;

    private String nDays;

    public String getnDays() {
        return nDays;
    }

    public void setnDays(String nDays) {
        this.nDays = nDays;
    }

    public void setID(Long iD)
    {
        this.iD = iD;
    }

    public Long getID() 
    {
        return iD;
    }
    public void setdAssist(String dAssist) 
    {
        this.dAssist = dAssist;
    }

    public String getdAssist() 
    {
        return dAssist;
    }
    public void setvProjectName(String vProjectName) 
    {
        this.vProjectName = vProjectName;
    }

    public String getvProjectName() 
    {
        return vProjectName;
    }
    public void setvProjectNo(String vProjectNo) 
    {
        this.vProjectNo = vProjectNo;
    }

    public String getvProjectNo() 
    {
        return vProjectNo;
    }
    public void setvSpaName(String vSpaName) 
    {
        this.vSpaName = vSpaName;
    }

    public String getvSpaName() 
    {
        return vSpaName;
    }
    public void setvDrawingNo(String vDrawingNo) 
    {
        this.vDrawingNo = vDrawingNo;
    }

    public String getvDrawingNo() 
    {
        return vDrawingNo;
    }
    public void setnQty(String nQty)
    {
        this.nQty = nQty;
    }

    public String getnQty()
    {
        return nQty;
    }
    public void setvMaterial(String vMaterial) 
    {
        this.vMaterial = vMaterial;
    }

    public String getvMaterial() 
    {
        return vMaterial;
    }
    public void setnWeight(BigDecimal nWeight) 
    {
        this.nWeight = nWeight;
    }

    public BigDecimal getnWeight() 
    {
        return nWeight;
    }
    public void setvDesigner(String vDesigner) 
    {
        this.vDesigner = vDesigner;
    }

    public String getvDesigner() 
    {
        return vDesigner;
    }
    public void setdExpected(String dExpected) 
    {
        this.dExpected = dExpected;
    }

    public String getdExpected() 
    {
        return dExpected;
    }
    public void setvActualProgress(String vActualProgress) 
    {
        this.vActualProgress = vActualProgress;
    }

    public String getvActualProgress() 
    {
        return vActualProgress;
    }
    public void setvReviewer(String vReviewer) 
    {
        this.vReviewer = vReviewer;
    }

    public String getvReviewer() 
    {
        return vReviewer;
    }
    public void setSupplier(String supplier) 
    {
        this.supplier = supplier;
    }

    public String getSupplier() 
    {
        return supplier;
    }
    public void setvWorkNo(String vWorkNo) 
    {
        this.vWorkNo = vWorkNo;
    }

    public String getvWorkNo() 
    {
        return vWorkNo;
    }
    public void setnCostPrice(BigDecimal nCostPrice) 
    {
        this.nCostPrice = nCostPrice;
    }

    public BigDecimal getnCostPrice() 
    {
        return nCostPrice;
    }
    public void setnOutsourcingPrice(BigDecimal nOutsourcingPrice) 
    {
        this.nOutsourcingPrice = nOutsourcingPrice;
    }

    public BigDecimal getnOutsourcingPrice() 
    {
        return nOutsourcingPrice;
    }
    public void setnContractPrice(BigDecimal nContractPrice) 
    {
        this.nContractPrice = nContractPrice;
    }

    public BigDecimal getnContractPrice() 
    {
        return nContractPrice;
    }
    public void setnTotalPrice(BigDecimal nTotalPrice) 
    {
        this.nTotalPrice = nTotalPrice;
    }

    public BigDecimal getnTotalPrice() 
    {
        return nTotalPrice;
    }
    public void setvContractNo(String vContractNo) 
    {
        this.vContractNo = vContractNo;
    }

    public String getvContractNo() 
    {
        return vContractNo;
    }
    public void setvSurfaceTreat(String vSurfaceTreat) 
    {
        this.vSurfaceTreat = vSurfaceTreat;
    }

    public String getvSurfaceTreat() 
    {
        return vSurfaceTreat;
    }
    public void setnSurfaceTreatPirce(BigDecimal nSurfaceTreatPirce) 
    {
        this.nSurfaceTreatPirce = nSurfaceTreatPirce;
    }

    public BigDecimal getnSurfaceTreatPirce() 
    {
        return nSurfaceTreatPirce;
    }
    public void setnSurfaceTreatTotal(BigDecimal nSurfaceTreatTotal) 
    {
        this.nSurfaceTreatTotal = nSurfaceTreatTotal;
    }

    public BigDecimal getnSurfaceTreatTotal() 
    {
        return nSurfaceTreatTotal;
    }
    public void setnSprayQty(BigDecimal nSprayQty) 
    {
        this.nSprayQty = nSprayQty;
    }

    public BigDecimal getnSprayQty() 
    {
        return nSprayQty;
    }
    public void setvNoPosition(String vNoPosition) 
    {
        this.vNoPosition = vNoPosition;
    }

    public String getvNoPosition() 
    {
        return vNoPosition;
    }
    public void setvFinishedProduct(String vFinishedProduct) 
    {
        this.vFinishedProduct = vFinishedProduct;
    }

    public String getvFinishedProduct() 
    {
        return vFinishedProduct;
    }
    public void setnWorkHours(BigDecimal nWorkHours) 
    {
        this.nWorkHours = nWorkHours;
    }

    public BigDecimal getnWorkHours() 
    {
        return nWorkHours;
    }
    public void setnWorkPirce(BigDecimal nWorkPirce) 
    {
        this.nWorkPirce = nWorkPirce;
    }

    public BigDecimal getnWorkPirce() 
    {
        return nWorkPirce;
    }
    public void setnWorkTotal(BigDecimal nWorkTotal) 
    {
        this.nWorkTotal = nWorkTotal;
    }

    public BigDecimal getnWorkTotal() 
    {
        return nWorkTotal;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("iD", getID())
            .append("dAssist", getdAssist())
            .append("vProjectName", getvProjectName())
            .append("vProjectNo", getvProjectNo())
            .append("vSpaName", getvSpaName())
            .append("vDrawingNo", getvDrawingNo())
            .append("nQty", getnQty())
            .append("vMaterial", getvMaterial())
            .append("nWeight", getnWeight())
            .append("vDesigner", getvDesigner())
            .append("dExpected", getdExpected())
            .append("vActualProgress", getvActualProgress())
            .append("vReviewer", getvReviewer())
            .append("supplier", getSupplier())
            .append("vWorkNo", getvWorkNo())
            .append("nCostPrice", getnCostPrice())
            .append("nOutsourcingPrice", getnOutsourcingPrice())
            .append("nContractPrice", getnContractPrice())
            .append("nTotalPrice", getnTotalPrice())
            .append("vContractNo", getvContractNo())
            .append("vSurfaceTreat", getvSurfaceTreat())
            .append("nSurfaceTreatPirce", getnSurfaceTreatPirce())
            .append("nSurfaceTreatTotal", getnSurfaceTreatTotal())
            .append("nSprayQty", getnSprayQty())
            .append("vNoPosition", getvNoPosition())
            .append("vFinishedProduct", getvFinishedProduct())
            .append("nWorkHours", getnWorkHours())
            .append("nWorkPirce", getnWorkPirce())
            .append("nWorkTotal", getnWorkTotal())
            .toString();
    }
}
